package com.yhj.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yhj.model.Product;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface ProductMapper{
    @Select("select id from product where id =#{id}")
    Product getById(@Param("id") Integer id);

    Product getProductById(int id);
}
